Skip to main content
Version: 4.x.x

ExtractUnionAdapter


import { ExtractUnionAdapter } from "@hyper-fetch/core"

Description

Defined in adapter/adapter.types.ts:40

Preview

type ExtractUnionAdapter<Adapter,Values> = Extract<Adapter, AdapterType<Values[options], Values[method], Values[status], Values[extra], Values[queryParams]>> extends AdapterInstance ? Extract<Adapter, AdapterType<Values[options], Values[method], Values[status], Values[extra], Values[queryParams]>> : never;

Structure

Extract<Adapter, AdapterType<Values[options], Values[method], Values[status], Values[extra], Values[queryParams]>> extends AdapterInstance ? Extract<Adapter, AdapterType<Values[options], Values[method], Values[status], Values[extra], Values[queryParams]>> : never